package com.graduate.emos.wx.db.dao;

import com.graduate.emos.wx.db.pojo.TbMeeting;
import org.apache.ibatis.annotations.Mapper;
import org.apache.shiro.crypto.hash.Hash;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

@Mapper
public interface TbMeetingDao {

    /*添加会议*/
    public int insertMeeting(TbMeeting meeting);

    /*分页查询会议列表*/
    public ArrayList<HashMap> searchMyMeetingListByPage(HashMap param);

    public boolean searchMeetingMembersInSameDept(String uuid);

    public int updateMeetingInstanceId(HashMap map);

    /*根据会议id查询会议*/
    public HashMap searchMeetingById(int id);

    /*查询会议成员*/
    public ArrayList<HashMap> searchMeetingMembers(int id);

    /*更新会议信息*/
    public int updateMeetingInfo(HashMap inParam);

    /*删除会议*/
    public int deleteMeetingById(int id);

    /*根据月份查询会议日期*/
    public List<String> searchUserMeetingInMonth(HashMap param);


}